package cn.lg.soar.flow.biz.service;

import cn.lg.soar.flow.api.model.AuditLogDTO;
import cn.lg.soar.flow.biz.entity.SoarAuditLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 节点审批人
 * @author luguoxiang
 * @since 2025-08-07
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface SoarAuditLogService extends IService<SoarAuditLog> {

    /**
     * 审批记录
     * @param procInstId 流程实例id
     * @return
     */
    List<AuditLogDTO> list(String procInstId);

    /**
     * 审批记录
     * @param flowCode 流程code
     * @param bizId 业务id
     * @return
     */
    List<AuditLogDTO> list(String flowCode, String bizId);

}
